//
//  commons.h
//  demo_3
//
//  Created by 才 陈 on 12-2-28.
//  Copyright (c) 2012年 sjtu. All rights reserved.
//

#import <Foundation/Foundation.h>

//z-index
#define HIDDEN_ITEM_Z_INDEX 0
#define BACKGROUND_LAYER_Z_INDEX 1
#define BOWL_LAYER_Z_INDEX 2
#define FLOUR_LAYER_Z_INDEX 2
#define BEEF_LAYER_Z_INDEX 2
#define MUTTON_LAYER_Z_INDEX 2
#define RADISH_LAYER_Z_INDEX 2
#define CUCUMBER_LAYER_Z_INDEX 2
#define KNIFE_LAYER_Z_INDEX 4
#define NUMBER_Z_INDEX 3
#define FLYFLOUR_LAYER_Z_INDEX 6
#define POPPING_ITEM_Z_INDEX 100
#define BEEF_INDEX 1
#define RADISH_INDEX 2
#define FLOUR_INDEX 3
#define CUCUMBER_INDEX 4
#define MUTTON_INDEX 5
#define FLY_SLICE_LAYER_Z_INDEX 10

#define POPPING_ITEM_TAG 5

//fixed properties definition of bowls
#define BOWL_WIDTH 310
#define BOWL_HEIHT 140
#define BOWL_SCALING 0.5
#define DISPLY_WIDTH_OF_SIDE_BOWL 50
#define BOWL_DISPLAY_POSITION_Y 320
#define BOWL_HIT_RECT_SCALE_X 0.8
#define BOWL_HIT_RECT_SCALE_Y 0.35
#define SCORE_BOARD_BOWL_SCALING 0.2
#define MULTIPLE_SIGN 52


#define LEVEL_B_MINUS 50
#define LEVEL_B 100
#define LEVEL_B_PLUS 150
#define LEVEL_A_MINUS 200
#define LEVEL_A 250
#define LEVEL_A_PLUS 300
#define LEVEL_S 350

#define INDEX_NOODLE 1
#define INDEX_RADISH_NOODLE 2
#define INDEX_CUCUMBER_NOODLE 3
#define INDEX_BEEF_NOODLE 4
#define INDEX_MUTTON_NOODLE 5
#define INDEX_RADISH_BEEF_NOODLE 6
#define INDEX_CUCUMBER_MUTTON_NOODLE 7
#define INDEX_RADISH_MUTTON_NOODLE 8
#define INDEX_CUCUMBER_BEEF_NOODLE 9

#define REWARD_NOODLE 10
#define REWARD_RADISH_NOODLE 15
#define REWARD_CUCUMBER_NOODLE 15
#define REWARD_BEEF_NOODLE 25
#define REWARD_MUTTON_NOODLE 25
#define REWARD_RADISH_BEEF_NOODLE 35
#define REWARD_CUCUMBER_MUTTON_NOODLE 35
#define REWARD_RADISH_MUTTON_NOODLE 40
#define REWARD_CUCUMBER_BEEF_NOODLE 40

enum TYPE_NOODLE {
    TYPE_NOODLE=1,
    TYPE_RADISH_NOODLE=2,
    TYPE_CUCUMBER_NOODLE=3,
    TYPE_BEEF_NOODLE=4,
    TYPE_MUTTON_NOODLE=5,
    TYPE_RADISH_BEEF_NOODLE=6,
    TYPE_CUCUMBER_MUTTON_NOODLE=7,
    TYPE_RADISH_MUTTON_NOODLE=8,
    TYPE_CUCUMBER_BEEF_NOODLE=9
};